package com.xj.test.module_a.di

import com.xj.test.module_a.impl.ModuleAServiceImpl
import com.xj.test.module_a_provider.ModuleAService
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ActivityComponent

@InstallIn(ActivityComponent::class)
@Module
abstract class ProviderModule {
    @Binds
    abstract fun getModuleAProvider(moduleAProviderImpl: ModuleAServiceImpl): ModuleAService
}